package com.wejoy.video.middle.station.data.service.alarm;

import com.wejoy.video.middle.station.data.domain.alarm.ScreenUserCarmeraConfigTime;

import java.util.List;

/**
 * 用户大屏监控记忆配置 
 *
 * @author miracle_j
 * @date 2025年03月28日 18:01:33
 */
public interface IScreenUserCarmeraConfigTimeService {
    /**
     * 保存或更新
     * @param req
     */
    void save(ScreenUserCarmeraConfigTime req, String operator);

    /**
     * 插入
     *
     * @param screenUserCarmeraConfigTime screenUserCarmeraConfigTime
     * @return int
     */
    int insertSelective(ScreenUserCarmeraConfigTime screenUserCarmeraConfigTime);

    /**
     * 主键更新
     *
     * @param screenUserCarmeraConfigTime screenUserCarmeraConfigTime
     * @return int
     */
    int updateSelectiveById(ScreenUserCarmeraConfigTime screenUserCarmeraConfigTime);

    /**
     * 数量
     *
     * @param screenUserCarmeraConfigTime screenUserCarmeraConfigTime
     * @return int
     */
    int getCount(ScreenUserCarmeraConfigTime screenUserCarmeraConfigTime);

    /**
     * 主键查询
     *
     * @param id id
     * @return ScreenUserCarmeraConfigTime
     */
    ScreenUserCarmeraConfigTime getOneById(Long id);


    ScreenUserCarmeraConfigTime getOneByPointId(String id);

    /**
     * 多条
     *
     * @param screenUserCarmeraConfigTime screenUserCarmeraConfigTime
     * @return List<ScreenUserCarmeraConfigTime>
     */
    List<ScreenUserCarmeraConfigTime> getList(ScreenUserCarmeraConfigTime screenUserCarmeraConfigTime);

    /**
     * 分页
     *
     * @param screenUserCarmeraConfigTime screenUserCarmeraConfigTime
     * @return List<ScreenUserCarmeraConfigTime>
     */
    List<ScreenUserCarmeraConfigTime> getPageList(ScreenUserCarmeraConfigTime screenUserCarmeraConfigTime);

    /**
     * 审核
     * @param id
     * @param operator
     */
    void audit(Long id, String operator);

    /**
     * 取消审核
     * @param id
     * @param operator
     */
    void unaudit(Long id, String operator);

    /**
     * 删除
     * @param id
     * @param operator
     */
    void delete(Long id, String operator);
}
